﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VLine.OutputDto._0416
{
    /// <summary>
    ///  创始商铺信息
    /// </summary>
    public class FolderInfoResult: FolderOutput
    {        
        /// <summary>
        ///  商铺推荐商品列表
        /// </summary>
        public List<RecGood> rec_list { get; set; }
    }
    /// <summary>
    ///  数据层返回商铺信息
    /// </summary>
    public class FolderOutput
    {
        /// <summary>
        ///  目录id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        /// 目录名称
        /// </summary>
        public string folder_name { get; set; }
        /// <summary>
        ///  目录path
        /// </summary>
        public string folder_path { get; set; }
        /// <summary>
        ///  目录备注
        /// </summary>
        public string folder_note { get; set; }
        /// <summary>
        ///  目录缩略图地址
        /// </summary>
        public string folder_url { get; set; }
        /// <summary>
        ///  商铺目录及其子目录下
        ///  所有已上架商品的数量合计
        /// </summary>
        public int num { get; set; }
        /// <summary>
        ///  今年销售额
        ///  P：数据来自销售明细表，合计商铺本年（今年1月1日至当前时间）的销售额
        /// </summary>
        public decimal sale { get; set; }
        /// <summary>
        ///  合伙人数
        ///  数据来自合伙人列表，=商铺有效合伙人人数
        /// </summary>
        public int partner_num { get; set; }
        /// <summary>
        ///  合伙人申请
        ///  数据来自合伙人申请表，=商铺待审核合伙人人数
        /// </summary>
        public int apply_num { get; set; }
        /// <summary>
        ///  城市
        /// </summary>
        public string city { get; set; }
    }
    /// <summary>
    ///  推荐商品
    /// </summary>
    public class RecGood
    {
        /// <summary>
        ///  商品id
        /// </summary>
        public int file_id { get; set; }
        /// <summary>
        ///  商品名称
        /// </summary>
        public string file_name { get; set; }
        /// <summary>
        ///  商品备注【简介】
        /// </summary>
        public string file_note { get; set; }
        /// <summary>
        ///  缩略图信息
        /// </summary>
        public List<T_DocBagFileRecord> photoOption { get; set; }
    }
}